Optimal. Leaf size=119 \[ -\frac{\left (d-c^2 d x^2\right )^{3/2} \left (a+b \cosh ^{-1}(c x)\right )}{3 d x^3}-\frac{b c \sqrt{d-c^2 d x^2}}{6 x^2 \sqrt{c x-1} \sqrt{c x+1}}-\frac{b c^3 \log (x) \sqrt{d-c^2 d x^2}}{3 \sqrt{c x-1} \sqrt{c x+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.285478, antiderivative size = 127, normalized size of antiderivative = 1.07, number of steps used = 4, number of rules used = 3, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111, Rules used = {5798, 5724, 14} \[ -\frac{(1-c x) (c x+1) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 x^3}-\frac{b c \sqrt{d-c^2 d x^2}}{6 x^2 \sqrt{c x-1} \sqrt{c x+1}}-\frac{b c^3 \log (x) \sqrt{d-c^2 d x^2}}{3 \sqrt{c x-1} \sqrt{c x+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5798
Rule 5724
Rule 14
Rubi steps
\begin{align*} \int \frac{\sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{x^4} \, dx &=\frac{\sqrt{d-c^2 d x^2} \int \frac{\sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right )}{x^4} \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{(1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 x^3}-\frac{\left (b c \sqrt{d-c^2 d x^2}\right ) \int \frac{-1+c^2 x^2}{x^3} \, dx}{3 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{(1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 x^3}-\frac{\left (b c \sqrt{d-c^2 d x^2}\right ) \int \left (-\frac{1}{x^3}+\frac{c^2}{x}\right ) \, dx}{3 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{b c \sqrt{d-c^2 d x^2}}{6 x^2 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{(1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 x^3}-\frac{b c^3 \sqrt{d-c^2 d x^2} \log (x)}{3 \sqrt{-1+c x} \sqrt{1+c x}}\\ \end{align*}
Mathematica [A] time = 0.121119, size = 88, normalized size = 0.74 \[ \frac{\sqrt{d-c^2 d x^2} \left (\frac{(c x-1)^{3/2} (c x+1)^{3/2} \left (a+b \cosh ^{-1}(c x)\right )}{3 x^3}-\frac{1}{3} b c \left (c^2 \log (x)+\frac{1}{2 x^2}\right )\right )}{\sqrt{c x-1} \sqrt{c x+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.286, size = 1017, normalized size = 8.6 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.26496, size = 986, normalized size = 8.29 \begin{align*} \left [\frac{2 \,{\left (b c^{4} x^{4} - 2 \, b c^{2} x^{2} + b\right )} \sqrt{-c^{2} d x^{2} + d} \log \left (c x + \sqrt{c^{2} x^{2} - 1}\right ) +{\left (b c^{5} x^{5} - b c^{3} x^{3}\right )} \sqrt{-d} \log \left (\frac{c^{2} d x^{6} + c^{2} d x^{2} - d x^{4} + \sqrt{-c^{2} d x^{2} + d} \sqrt{c^{2} x^{2} - 1}{\left (x^{4} - 1\right )} \sqrt{-d} - d}{c^{2} x^{4} - x^{2}}\right ) + \sqrt{-c^{2} d x^{2} + d}{\left (b c x^{3} - b c x\right )} \sqrt{c^{2} x^{2} - 1} + 2 \,{\left (a c^{4} x^{4} - 2 \, a c^{2} x^{2} + a\right )} \sqrt{-c^{2} d x^{2} + d}}{6 \,{\left (c^{2} x^{5} - x^{3}\right )}}, -\frac{2 \,{\left (b c^{5} x^{5} - b c^{3} x^{3}\right )} \sqrt{d} \arctan \left (\frac{\sqrt{-c^{2} d x^{2} + d} \sqrt{c^{2} x^{2} - 1}{\left (x^{2} + 1\right )} \sqrt{d}}{c^{2} d x^{4} -{\left (c^{2} + 1\right )} d x^{2} + d}\right ) - 2 \,{\left (b c^{4} x^{4} - 2 \, b c^{2} x^{2} + b\right )} \sqrt{-c^{2} d x^{2} + d} \log \left (c x + \sqrt{c^{2} x^{2} - 1}\right ) - \sqrt{-c^{2} d x^{2} + d}{\left (b c x^{3} - b c x\right )} \sqrt{c^{2} x^{2} - 1} - 2 \,{\left (a c^{4} x^{4} - 2 \, a c^{2} x^{2} + a\right )} \sqrt{-c^{2} d x^{2} + d}}{6 \,{\left (c^{2} x^{5} - x^{3}\right )}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{- d \left (c x - 1\right ) \left (c x + 1\right )} \left (a + b \operatorname{acosh}{\left (c x \right )}\right )}{x^{4}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{-c^{2} d x^{2} + d}{\left (b \operatorname{arcosh}\left (c x\right ) + a\right )}}{x^{4}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]